import services.interfaces.CityTaxAdapter;
import junit.framework.TestCase;


public class CityTaxAdapterTest extends TestCase {

	private CityTaxAdapter city;
	
	protected void setUp(){
		city = new CityTaxAdapter();
	}
	
	protected void tearDown(){
		city = null;
	}
	
	public void testGetTaxes(){
		setUp();
		double input = 10;
		double expected = input + input*0.09;
		assertEquals(expected, city.getTaxes(input));
		tearDown();
	}
}
